Pick up missing 'else' clause. From Olaf.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Tue, 30 Aug 2005 20:40:16 +0000 (20:40 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Tue, 30 Aug 2005 20:40:16 +0000 (20:40 +0000)
gpsbabel/csv_util.c

index e2ad5db8a5ceab604a7a5baa35877a6813098a64..66d7282183b44b4b43abc5797e16c5117662b8bb 100644 (file)
@@ -928,7 +928,7 @@ xcsv_parse_val(const char *s, waypoint *wpt, const field_map_t *fmp)
     } else
     if ( strcmp( fmp->key, "HEART_RATE") == 0) {
       wpt->heartrate = atoi(s); 
-    }
+    } else
     if ( strcmp( fmp->key, "PATH_DISTANCE_KM") == 0 ) {
        /* Ignored on input */
     } else {